 <div class="head clearfix">
    <div class="title fl"><a href="${request.contextPath}/index">教学过程控制系统</a></div>
            <div class="login-fr fr">
       </div>
        </div>
        <script type="text/javascript">
 (function(){
        $.getJSON('${request.contextPath}/identify_identifyLogin.action', {}, function(json, textStatus) {
                /*optional stuff to do after success */
                  if(json['username']!=null){
                     var html='';
                     html+='<li class="dropdown">';
 html+='<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">';
 html+='<span>欢迎您'+json['username']+'</span><span class="caret"></span></a>';
 html+='                <ul class="dropdown-menu">';
 html+='                  <li><a href="${request.contextPath}/-myTeam">我的团队</a></li>';
 html+='                  <li role="separator" class="divider"></li>';
 html+='                  <li><a href="${request.contextPath}/logout">退出登录</a></li>';
 html+='                </ul>';
 html+='                 </li>';
                     $('.login-fr').append(html);
                  }else{
                    $('.login-fr').html('<a href="${request.contextPath}/login"><img class="login-fr" src="./assets/img/login.png"></a>');
                  }
        });
    }
        )();
        </script>